import 'package:tender_flutter/page/home/model/tender_num_entity.dart';

tenderNumEntityFromJson(TenderNumEntity data, Map<String, dynamic> json) {
	if (json['num'] != null) {
		data.num = json['num'] is String
				? int.tryParse(json['num'])
				: json['num'].toInt();
	}
	return data;
}

Map<String, dynamic> tenderNumEntityToJson(TenderNumEntity entity) {
	final Map<String, dynamic> data = new Map<String, dynamic>();
	data['num'] = entity.num;
	return data;
}